<%@ page import="cn.wolfcode.domain.File" %><%--
  Created by IntelliJ IDEA.
  User: 孙晓萌
  Date: 2021/8/14
  Time: 10:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    File f =(File) request.getAttribute("f");
    request.setAttribute("f",f);
%>
    <form action="/chaxunServlet/saveOrUpdate" method="post" enctype="multipart/form-data">
        <input type="hidden" name="id" value="${f.id}">
      <input type="text" name="filename" value="${f.filename}">
      <input type="file" name="pic" value="${f.filepath}">
        <input type="submit" value="提交">
    </form>
</body>
</html>
